<?php 
my_component_load('testing' , false);
my_component_load('paging' , false);   
my_component_load('list_kalender' , false);   
my_component_load('rpt_realisasi_wk' );
$task = isset($_GET['task']) ? $_GET['task'] : ""; 
$periode_id = isset( $_GET['periode_id'] ) ? $_GET['periode_id']:  0;
$karyawan_id = isset( $_GET['karyawan_id'] ) ? $_GET['karyawan_id']:  0;
$modulname = "Personalia _BN_ Waktu Kerja _BN_ Jadwal Kerja _BN_ Realisasi";

if($task == 'pindahperiode'){
	my_direct('index.php?com='.$_GET['com'].'&task=detail_kelompok_shift&karyawan_id='.$karyawan_id.'&periode_id='.$periode_id);
}else{
	$pagename = $modulname." _BN_ Detail";
	load_facebox_script();
	$content =  detail_kelompok_shift($karyawan_id,$periode_id );
}
generate_my_web($content, $pagename );